<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 字体声明 */
        @font-face {
            font-family: 'icomoon';
            src: url('fonts/icomoon.eot?c1fkd0');
            src: url('fonts/icomoon.eot?c1fkd0#iefix') format('embedded-opentype'),
                url('fonts/icomoon.ttf?c1fkd0') format('truetype'),
                url('fonts/icomoon.woff?c1fkd0') format('woff'),
                url('fonts/icomoon.svg?c1fkd0#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }

        span {
            font-family: 'icomoon';
            font-size: 100px;
            color: pink;
        }
    </style>
</head>

<body>
    <span></span>
</body>

</html>